
package com.shhic.hhplt.testreport;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for testSuiteType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="testSuiteType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="testItem" type="{}testItemType" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="status" use="required" type="{}statusEnum" />
 *       &lt;attribute name="testor" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="workbay" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="testTime" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="barCode" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "testSuiteType", propOrder = {
    "testItem"
})
public class TestSuiteType {

    protected List<TestItemType> testItem;
    @XmlAttribute(required = true)
    protected String name;
    @XmlAttribute(required = true)
    protected StatusEnum status;
    @XmlAttribute
    protected String testor;
    @XmlAttribute
    protected String workbay;
    @XmlAttribute(required = true)
    protected XMLGregorianCalendar testTime;
    @XmlAttribute(required = true)
    protected String version;
    @XmlAttribute
    protected String barCode;

    /**
     * Gets the value of the testItem property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the testItem property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getTestItem().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TestItemType }
     * 
     * 
     */
    public List<TestItemType> getTestItem() {
        if (testItem == null) {
            testItem = new ArrayList<TestItemType>();
        }
        return this.testItem;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the status property.
     * 
     * @return
     *     possible object is
     *     {@link StatusEnum }
     *     
     */
    public StatusEnum getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     * @param value
     *     allowed object is
     *     {@link StatusEnum }
     *     
     */
    public void setStatus(StatusEnum value) {
        this.status = value;
    }

    /**
     * Gets the value of the testor property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTestor() {
        return testor;
    }

    /**
     * Sets the value of the testor property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTestor(String value) {
        this.testor = value;
    }

    /**
     * Gets the value of the workbay property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getWorkbay() {
        return workbay;
    }

    /**
     * Sets the value of the workbay property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setWorkbay(String value) {
        this.workbay = value;
    }

    /**
     * Gets the value of the testTime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getTestTime() {
        return testTime;
    }

    /**
     * Sets the value of the testTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setTestTime(XMLGregorianCalendar value) {
        this.testTime = value;
    }

    /**
     * Gets the value of the version property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getVersion() {
        return version;
    }

    /**
     * Sets the value of the version property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setVersion(String value) {
        this.version = value;
    }

    /**
     * Gets the value of the barCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBarCode() {
        return barCode;
    }

    /**
     * Sets the value of the barCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBarCode(String value) {
        this.barCode = value;
    }

}
